package jason.service;

import com.jason.entities.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "nacos-payment-provider",fallback = PaymentFallBackService.class)
public interface PaymentService {
    @GetMapping("/paymentSQL/{id}")
    public JsonData paymentSql(@PathVariable("id") Long id);

}
